package com.cy.sys.dao;

import com.cy.sys.pojo.SysNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysNoticeDao {

     List<SysNotice> selectNotices(SysNotice sysNotice);

     @Select("select * from jt_notices where id=#{id}")
     SysNotice selectById(Long id);

     int insertNotices(SysNotice sysNotice);

     int deleteById(Long... id);

     int updateNotices(SysNotice sysNotice);
}
